x86: correctly check for sub-leaf zero of leaf 7 in pv_cpuid()
authorJan Beulich <jbeulich@suse.com>
Thu, 22 Jan 2015 11:48:40 +0000 (12:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 22 Jan 2015 11:48:40 +0000 (12:48 +0100)
commitae1edef1ae33f3bcff2580116ae2b7c9ffef42f2
tree220f2bd97d5672b6829b8099c5df55db33acaf1a
parent8d050ed1097ce5f4bf6a1d6806fb1e3471976adb
x86: correctly check for sub-leaf zero of leaf 7 in pv_cpuid()

Only the low 32 bits are relevant.

For consistency also change a cast on regs->eax to regs->_eax.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c